import type { PromiseType } from '#types/utils.d'

import SysSiteApi from '#/api/system/site'

export const PageApi = SysSiteApi.inst
export const sitePageApi = SysSiteApi.inst

type TableList = PromiseType<ReturnType<typeof PageApi.getPageList>>['records']
export type TableListItem = TableList[number]
